\(\int \frac {(a+b \cos (c+d x))^{5/2} (A+B \cos (c+d x))}{\cos ^{\frac {9}{2}}(c+d x)} \, dx\) [416]
Optimal result
Integrand size = 35, antiderivative size = 434 \[
\int \frac {(a+b \cos (c+d x))^{5/2} (A+B \cos (c+d x))}{\cos ^{\frac {9}{2}}(c+d x)} \, dx=\frac {2 (a-b) \sqrt {a+b} \left (145 a^2 A b+15 A b^3+63 a^3 B+161 a b^2 B\right ) \cot (c+d x) E\left (\arcsin \left (\frac {\sqrt {a+b \cos (c+d x)}}{\sqrt {a+b} \sqrt {\cos (c+d x)}}\right )|-\frac {a+b}{a-b}\right ) \sqrt {\frac {a (1-\sec (c+d x))}{a+b}} \sqrt {\frac {a (1+\sec (c+d x))}{a-b}}}{105 a^2 d}+\frac {2 (a-b) \sqrt {a+b} \left (a^2 (25 A-63 B)+15 b^2 (A-7 B)-8 a b (15 A-7 B)\right ) \cot (c+d x) \operatorname {EllipticF}\left (\arcsin \left (\frac {\sqrt {a+b \cos (c+d x)}}{\sqrt {a+b} \sqrt {\cos (c+d x)}}\right ),-\frac {a+b}{a-b}\right ) \sqrt {\frac {a (1-\sec (c+d x))}{a+b}} \sqrt {\frac {a (1+\sec (c+d x))}{a-b}}}{105 a d}+\frac {2 a (10 A b+7 a B) \sqrt {a+b \cos (c+d x)} \sin (c+d x)}{35 d \cos ^{\frac {5}{2}}(c+d x)}+\frac {2 \left (25 a^2 A+45 A b^2+77 a b B\right ) \sqrt {a+b \cos (c+d x)} \sin (c+d x)}{105 d \cos ^{\frac {3}{2}}(c+d x)}+\frac {2 a A (a+b \cos (c+d x))^{3/2} \sin (c+d x)}{7 d \cos ^{\frac {7}{2}}(c+d x)}
\]
[Out]
2/7*a*A*(a+b*cos(d*x+c))^(3/2)*sin(d*x+c)/d/cos(d*x+c)^(7/2)+2/35*a*(10*A*b+7*B*a)*sin(d*x+c)*(a+b*cos(d*x+c))
^(1/2)/d/cos(d*x+c)^(5/2)+2/105*(25*A*a^2+45*A*b^2+77*B*a*b)*sin(d*x+c)*(a+b*cos(d*x+c))^(1/2)/d/cos(d*x+c)^(3
/2)+2/105*(a-b)*(145*A*a^2*b+15*A*b^3+63*B*a^3+161*B*a*b^2)*cot(d*x+c)*EllipticE((a+b*cos(d*x+c))^(1/2)/(a+b)^
(1/2)/cos(d*x+c)^(1/2),((-a-b)/(a-b))^(1/2))*(a+b)^(1/2)*(a*(1-sec(d*x+c))/(a+b))^(1/2)*(a*(1+sec(d*x+c))/(a-b
))^(1/2)/a^2/d+2/105*(a-b)*(a^2*(25*A-63*B)+15*b^2*(A-7*B)-8*a*b*(15*A-7*B))*cot(d*x+c)*EllipticF((a+b*cos(d*x
+c))^(1/2)/(a+b)^(1/2)/cos(d*x+c)^(1/2),((-a-b)/(a-b))^(1/2))*(a+b)^(1/2)*(a*(1-sec(d*x+c))/(a+b))^(1/2)*(a*(1
+sec(d*x+c))/(a-b))^(1/2)/a/d
Rubi [A] (verified)
Time = 1.40 (sec) , antiderivative size = 434, normalized size of antiderivative = 1.00, number of
steps used = 6, number of rules used = 6, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.171, Rules used = {3068, 3126, 3134, 3077, 2895,
3073} \[
\int \frac {(a+b \cos (c+d x))^{5/2} (A+B \cos (c+d x))}{\cos ^{\frac {9}{2}}(c+d x)} \, dx=\frac {2 (a-b) \sqrt {a+b} \left (a^2 (25 A-63 B)-8 a b (15 A-7 B)+15 b^2 (A-7 B)\right ) \cot (c+d x) \sqrt {\frac {a (1-\sec (c+d x))}{a+b}} \sqrt {\frac {a (\sec (c+d x)+1)}{a-b}} \operatorname {EllipticF}\left (\arcsin \left (\frac {\sqrt {a+b \cos (c+d x)}}{\sqrt {a+b} \sqrt {\cos (c+d x)}}\right ),-\frac {a+b}{a-b}\right )}{105 a d}+\frac {2 \left (25 a^2 A+77 a b B+45 A b^2\right ) \sin (c+d x) \sqrt {a+b \cos (c+d x)}}{105 d \cos ^{\frac {3}{2}}(c+d x)}+\frac {2 (a-b) \sqrt {a+b} \left (63 a^3 B+145 a^2 A b+161 a b^2 B+15 A b^3\right ) \cot (c+d x) \sqrt {\frac {a (1-\sec (c+d x))}{a+b}} \sqrt {\frac {a (\sec (c+d x)+1)}{a-b}} E\left (\arcsin \left (\frac {\sqrt {a+b \cos (c+d x)}}{\sqrt {a+b} \sqrt {\cos (c+d x)}}\right )|-\frac {a+b}{a-b}\right )}{105 a^2 d}+\frac {2 a (7 a B+10 A b) \sin (c+d x) \sqrt {a+b \cos (c+d x)}}{35 d \cos ^{\frac {5}{2}}(c+d x)}+\frac {2 a A \sin (c+d x) (a+b \cos (c+d x))^{3/2}}{7 d \cos ^{\frac {7}{2}}(c+d x)}
\]
[In]
Int[((a + b*Cos[c + d*x])^(5/2)*(A + B*Cos[c + d*x]))/Cos[c + d*x]^(9/2),x]
[Out]
(2*(a - b)*Sqrt[a + b]*(145*a^2*A*b + 15*A*b^3 + 63*a^3*B + 161*a*b^2*B)*Cot[c + d*x]*EllipticE[ArcSin[Sqrt[a
+ b*Cos[c + d*x]]/(Sqrt[a + b]*Sqrt[Cos[c + d*x]])], -((a + b)/(a - b))]*Sqrt[(a*(1 - Sec[c + d*x]))/(a + b)]*
Sqrt[(a*(1 + Sec[c + d*x]))/(a - b)])/(105*a^2*d) + (2*(a - b)*Sqrt[a + b]*(a^2*(25*A - 63*B) + 15*b^2*(A - 7*
B) - 8*a*b*(15*A - 7*B))*Cot[c + d*x]*EllipticF[ArcSin[Sqrt[a + b*Cos[c + d*x]]/(Sqrt[a + b]*Sqrt[Cos[c + d*x]
])], -((a + b)/(a - b))]*Sqrt[(a*(1 - Sec[c + d*x]))/(a + b)]*Sqrt[(a*(1 + Sec[c + d*x]))/(a - b)])/(105*a*d)
+ (2*a*(10*A*b + 7*a*B)*Sqrt[a + b*Cos[c + d*x]]*Sin[c + d*x])/(35*d*Cos[c + d*x]^(5/2)) + (2*(25*a^2*A + 45*A
*b^2 + 77*a*b*B)*Sqrt[a + b*Cos[c + d*x]]*Sin[c + d*x])/(105*d*Cos[c + d*x]^(3/2)) + (2*a*A*(a + b*Cos[c + d*x
])^(3/2)*Sin[c + d*x])/(7*d*Cos[c + d*x]^(7/2))
Rule 2895
Int[1/(Sqrt[(d_.)*sin[(e_.) + (f_.)*(x_)]]*Sqrt[(a_) + (b_.)*sin[(e_.) + (f_.)*(x_)]]), x_Symbol] :> Simp[-2*(
Tan[e + f*x]/(a*f))*Rt[(a + b)/d, 2]*Sqrt[a*((1 - Csc[e + f*x])/(a + b))]*Sqrt[a*((1 + Csc[e + f*x])/(a - b))]
*EllipticF[ArcSin[Sqrt[a + b*Sin[e + f*x]]/Sqrt[d*Sin[e + f*x]]/Rt[(a + b)/d, 2]], -(a + b)/(a - b)], x] /; Fr
eeQ[{a, b, d, e, f}, x] && NeQ[a^2 - b^2, 0] && PosQ[(a + b)/d]
Rule 3068
Int[((a_.) + (b_.)*sin[(e_.) + (f_.)*(x_)])^(m_)*((A_.) + (B_.)*sin[(e_.) + (f_.)*(x_)])*((c_.) + (d_.)*sin[(e
_.) + (f_.)*(x_)])^(n_), x_Symbol] :> Simp[(-(b*c - a*d))*(B*c - A*d)*Cos[e + f*x]*(a + b*Sin[e + f*x])^(m - 1
)*((c + d*Sin[e + f*x])^(n + 1)/(d*f*(n + 1)*(c^2 - d^2))), x] + Dist[1/(d*(n + 1)*(c^2 - d^2)), Int[(a + b*Si
n[e + f*x])^(m - 2)*(c + d*Sin[e + f*x])^(n + 1)*Simp[b*(b*c - a*d)*(B*c - A*d)*(m - 1) + a*d*(a*A*c + b*B*c -
(A*b + a*B)*d)*(n + 1) + (b*(b*d*(B*c - A*d) + a*(A*c*d + B*(c^2 - 2*d^2)))*(n + 1) - a*(b*c - a*d)*(B*c - A*
d)*(n + 2))*Sin[e + f*x] + b*(d*(A*b*c + a*B*c - a*A*d)*(m + n + 1) - b*B*(c^2*m + d^2*(n + 1)))*Sin[e + f*x]^
2, x], x], x] /; FreeQ[{a, b, c, d, e, f, A, B}, x] && NeQ[b*c - a*d, 0] && NeQ[a^2 - b^2, 0] && NeQ[c^2 - d^2
, 0] && GtQ[m, 1] && LtQ[n, -1]
Rule 3073
Int[((A_) + (B_.)*sin[(e_.) + (f_.)*(x_)])/(((b_.)*sin[(e_.) + (f_.)*(x_)])^(3/2)*Sqrt[(c_) + (d_.)*sin[(e_.)
+ (f_.)*(x_)]]), x_Symbol] :> Simp[-2*A*(c - d)*(Tan[e + f*x]/(f*b*c^2))*Rt[(c + d)/b, 2]*Sqrt[c*((1 + Csc[e +
f*x])/(c - d))]*Sqrt[c*((1 - Csc[e + f*x])/(c + d))]*EllipticE[ArcSin[Sqrt[c + d*Sin[e + f*x]]/Sqrt[b*Sin[e +
f*x]]/Rt[(c + d)/b, 2]], -(c + d)/(c - d)], x] /; FreeQ[{b, c, d, e, f, A, B}, x] && NeQ[c^2 - d^2, 0] && EqQ
[A, B] && PosQ[(c + d)/b]
Rule 3077
Int[((A_.) + (B_.)*sin[(e_.) + (f_.)*(x_)])/(((a_.) + (b_.)*sin[(e_.) + (f_.)*(x_)])^(3/2)*Sqrt[(c_) + (d_.)*s
in[(e_.) + (f_.)*(x_)]]), x_Symbol] :> Dist[(A - B)/(a - b), Int[1/(Sqrt[a + b*Sin[e + f*x]]*Sqrt[c + d*Sin[e
+ f*x]]), x], x] - Dist[(A*b - a*B)/(a - b), Int[(1 + Sin[e + f*x])/((a + b*Sin[e + f*x])^(3/2)*Sqrt[c + d*Sin
[e + f*x]]), x], x] /; FreeQ[{a, b, c, d, e, f, A, B}, x] && NeQ[b*c - a*d, 0] && NeQ[a^2 - b^2, 0] && NeQ[c^2
- d^2, 0] && NeQ[A, B]
Rule 3126
Int[((a_.) + (b_.)*sin[(e_.) + (f_.)*(x_)])^(m_)*((c_.) + (d_.)*sin[(e_.) + (f_.)*(x_)])^(n_)*((A_.) + (B_.)*s
in[(e_.) + (f_.)*(x_)] + (C_.)*sin[(e_.) + (f_.)*(x_)]^2), x_Symbol] :> Simp[(-(c^2*C - B*c*d + A*d^2))*Cos[e
+ f*x]*(a + b*Sin[e + f*x])^m*((c + d*Sin[e + f*x])^(n + 1)/(d*f*(n + 1)*(c^2 - d^2))), x] + Dist[1/(d*(n + 1)
*(c^2 - d^2)), Int[(a + b*Sin[e + f*x])^(m - 1)*(c + d*Sin[e + f*x])^(n + 1)*Simp[A*d*(b*d*m + a*c*(n + 1)) +
(c*C - B*d)*(b*c*m + a*d*(n + 1)) - (d*(A*(a*d*(n + 2) - b*c*(n + 1)) + B*(b*d*(n + 1) - a*c*(n + 2))) - C*(b*
c*d*(n + 1) - a*(c^2 + d^2*(n + 1))))*Sin[e + f*x] + b*(d*(B*c - A*d)*(m + n + 2) - C*(c^2*(m + 1) + d^2*(n +
1)))*Sin[e + f*x]^2, x], x], x] /; FreeQ[{a, b, c, d, e, f, A, B, C}, x] && NeQ[b*c - a*d, 0] && NeQ[a^2 - b^2
, 0] && NeQ[c^2 - d^2, 0] && GtQ[m, 0] && LtQ[n, -1]
Rule 3134
Int[((a_.) + (b_.)*sin[(e_.) + (f_.)*(x_)])^(m_)*((c_.) + (d_.)*sin[(e_.) + (f_.)*(x_)])^(n_)*((A_.) + (B_.)*s
in[(e_.) + (f_.)*(x_)] + (C_.)*sin[(e_.) + (f_.)*(x_)]^2), x_Symbol] :> Simp[(-(A*b^2 - a*b*B + a^2*C))*Cos[e
+ f*x]*(a + b*Sin[e + f*x])^(m + 1)*((c + d*Sin[e + f*x])^(n + 1)/(f*(m + 1)*(b*c - a*d)*(a^2 - b^2))), x] + D
ist[1/((m + 1)*(b*c - a*d)*(a^2 - b^2)), Int[(a + b*Sin[e + f*x])^(m + 1)*(c + d*Sin[e + f*x])^n*Simp[(m + 1)*
(b*c - a*d)*(a*A - b*B + a*C) + d*(A*b^2 - a*b*B + a^2*C)*(m + n + 2) - (c*(A*b^2 - a*b*B + a^2*C) + (m + 1)*(
b*c - a*d)*(A*b - a*B + b*C))*Sin[e + f*x] - d*(A*b^2 - a*b*B + a^2*C)*(m + n + 3)*Sin[e + f*x]^2, x], x], x]
/; FreeQ[{a, b, c, d, e, f, A, B, C, n}, x] && NeQ[b*c - a*d, 0] && NeQ[a^2 - b^2, 0] && NeQ[c^2 - d^2, 0] &&
LtQ[m, -1] && ((EqQ[a, 0] && IntegerQ[m] && !IntegerQ[n]) || !(IntegerQ[2*n] && LtQ[n, -1] && ((IntegerQ[n]
&& !IntegerQ[m]) || EqQ[a, 0])))
Rubi steps \begin{align*}
\text {integral}& = \frac {2 a A (a+b \cos (c+d x))^{3/2} \sin (c+d x)}{7 d \cos ^{\frac {7}{2}}(c+d x)}+\frac {2}{7} \int \frac {\sqrt {a+b \cos (c+d x)} \left (\frac {1}{2} a (10 A b+7 a B)+\frac {1}{2} \left (5 a^2 A+7 A b^2+14 a b B\right ) \cos (c+d x)+\frac {1}{2} b (2 a A+7 b B) \cos ^2(c+d x)\right )}{\cos ^{\frac {7}{2}}(c+d x)} \, dx \\ & = \frac {2 a (10 A b+7 a B) \sqrt {a+b \cos (c+d x)} \sin (c+d x)}{35 d \cos ^{\frac {5}{2}}(c+d x)}+\frac {2 a A (a+b \cos (c+d x))^{3/2} \sin (c+d x)}{7 d \cos ^{\frac {7}{2}}(c+d x)}+\frac {4}{35} \int \frac {\frac {1}{4} a \left (25 a^2 A+45 A b^2+77 a b B\right )+\frac {1}{4} \left (65 a^2 A b+35 A b^3+21 a^3 B+105 a b^2 B\right ) \cos (c+d x)+\frac {1}{4} b \left (30 a A b+14 a^2 B+35 b^2 B\right ) \cos ^2(c+d x)}{\cos ^{\frac {5}{2}}(c+d x) \sqrt {a+b \cos (c+d x)}} \, dx \\ & = \frac {2 a (10 A b+7 a B) \sqrt {a+b \cos (c+d x)} \sin (c+d x)}{35 d \cos ^{\frac {5}{2}}(c+d x)}+\frac {2 \left (25 a^2 A+45 A b^2+77 a b B\right ) \sqrt {a+b \cos (c+d x)} \sin (c+d x)}{105 d \cos ^{\frac {3}{2}}(c+d x)}+\frac {2 a A (a+b \cos (c+d x))^{3/2} \sin (c+d x)}{7 d \cos ^{\frac {7}{2}}(c+d x)}+\frac {8 \int \frac {\frac {1}{8} a \left (145 a^2 A b+15 A b^3+63 a^3 B+161 a b^2 B\right )+\frac {1}{8} a \left (25 a^3 A+135 a A b^2+119 a^2 b B+105 b^3 B\right ) \cos (c+d x)}{\cos ^{\frac {3}{2}}(c+d x) \sqrt {a+b \cos (c+d x)}} \, dx}{105 a} \\ & = \frac {2 a (10 A b+7 a B) \sqrt {a+b \cos (c+d x)} \sin (c+d x)}{35 d \cos ^{\frac {5}{2}}(c+d x)}+\frac {2 \left (25 a^2 A+45 A b^2+77 a b B\right ) \sqrt {a+b \cos (c+d x)} \sin (c+d x)}{105 d \cos ^{\frac {3}{2}}(c+d x)}+\frac {2 a A (a+b \cos (c+d x))^{3/2} \sin (c+d x)}{7 d \cos ^{\frac {7}{2}}(c+d x)}+\frac {1}{105} \left ((a-b) \left (a^2 (25 A-63 B)+15 b^2 (A-7 B)-8 a b (15 A-7 B)\right )\right ) \int \frac {1}{\sqrt {\cos (c+d x)} \sqrt {a+b \cos (c+d x)}} \, dx+\frac {1}{105} \left (145 a^2 A b+15 A b^3+63 a^3 B+161 a b^2 B\right ) \int \frac {1+\cos (c+d x)}{\cos ^{\frac {3}{2}}(c+d x) \sqrt {a+b \cos (c+d x)}} \, dx \\ & = \frac {2 (a-b) \sqrt {a+b} \left (145 a^2 A b+15 A b^3+63 a^3 B+161 a b^2 B\right ) \cot (c+d x) E\left (\arcsin \left (\frac {\sqrt {a+b \cos (c+d x)}}{\sqrt {a+b} \sqrt {\cos (c+d x)}}\right )|-\frac {a+b}{a-b}\right ) \sqrt {\frac {a (1-\sec (c+d x))}{a+b}} \sqrt {\frac {a (1+\sec (c+d x))}{a-b}}}{105 a^2 d}+\frac {2 (a-b) \sqrt {a+b} \left (a^2 (25 A-63 B)+15 b^2 (A-7 B)-8 a b (15 A-7 B)\right ) \cot (c+d x) \operatorname {EllipticF}\left (\arcsin \left (\frac {\sqrt {a+b \cos (c+d x)}}{\sqrt {a+b} \sqrt {\cos (c+d x)}}\right ),-\frac {a+b}{a-b}\right ) \sqrt {\frac {a (1-\sec (c+d x))}{a+b}} \sqrt {\frac {a (1+\sec (c+d x))}{a-b}}}{105 a d}+\frac {2 a (10 A b+7 a B) \sqrt {a+b \cos (c+d x)} \sin (c+d x)}{35 d \cos ^{\frac {5}{2}}(c+d x)}+\frac {2 \left (25 a^2 A+45 A b^2+77 a b B\right ) \sqrt {a+b \cos (c+d x)} \sin (c+d x)}{105 d \cos ^{\frac {3}{2}}(c+d x)}+\frac {2 a A (a+b \cos (c+d x))^{3/2} \sin (c+d x)}{7 d \cos ^{\frac {7}{2}}(c+d x)} \\
\end{align*}
Mathematica [C] (verified)
Result contains complex when optimal does not.
Time = 6.87 (sec) , antiderivative size = 1409, normalized size of antiderivative = 3.25
\[
\int \frac {(a+b \cos (c+d x))^{5/2} (A+B \cos (c+d x))}{\cos ^{\frac {9}{2}}(c+d x)} \, dx=\frac {-\frac {4 a \left (25 a^4 A-10 a^2 A b^2-15 A b^4+56 a^3 b B-56 a b^3 B\right ) \sqrt {\frac {(a+b) \cot ^2\left (\frac {1}{2} (c+d x)\right )}{-a+b}} \sqrt {-\frac {(a+b) \cos (c+d x) \csc ^2\left (\frac {1}{2} (c+d x)\right )}{a}} \sqrt {\frac {(a+b \cos (c+d x)) \csc ^2\left (\frac {1}{2} (c+d x)\right )}{a}} \csc (c+d x) \operatorname {EllipticF}\left (\arcsin \left (\frac {\sqrt {\frac {(a+b \cos (c+d x)) \csc ^2\left (\frac {1}{2} (c+d x)\right )}{a}}}{\sqrt {2}}\right ),-\frac {2 a}{-a+b}\right ) \sin ^4\left (\frac {1}{2} (c+d x)\right )}{(a+b) \sqrt {\cos (c+d x)} \sqrt {a+b \cos (c+d x)}}-4 a \left (-145 a^3 A b-15 a A b^3-63 a^4 B-161 a^2 b^2 B\right ) \left (\frac {\sqrt {\frac {(a+b) \cot ^2\left (\frac {1}{2} (c+d x)\right )}{-a+b}} \sqrt {-\frac {(a+b) \cos (c+d x) \csc ^2\left (\frac {1}{2} (c+d x)\right )}{a}} \sqrt {\frac {(a+b \cos (c+d x)) \csc ^2\left (\frac {1}{2} (c+d x)\right )}{a}} \csc (c+d x) \operatorname {EllipticF}\left (\arcsin \left (\frac {\sqrt {\frac {(a+b \cos (c+d x)) \csc ^2\left (\frac {1}{2} (c+d x)\right )}{a}}}{\sqrt {2}}\right ),-\frac {2 a}{-a+b}\right ) \sin ^4\left (\frac {1}{2} (c+d x)\right )}{(a+b) \sqrt {\cos (c+d x)} \sqrt {a+b \cos (c+d x)}}-\frac {\sqrt {\frac {(a+b) \cot ^2\left (\frac {1}{2} (c+d x)\right )}{-a+b}} \sqrt {-\frac {(a+b) \cos (c+d x) \csc ^2\left (\frac {1}{2} (c+d x)\right )}{a}} \sqrt {\frac {(a+b \cos (c+d x)) \csc ^2\left (\frac {1}{2} (c+d x)\right )}{a}} \csc (c+d x) \operatorname {EllipticPi}\left (-\frac {a}{b},\arcsin \left (\frac {\sqrt {\frac {(a+b \cos (c+d x)) \csc ^2\left (\frac {1}{2} (c+d x)\right )}{a}}}{\sqrt {2}}\right ),-\frac {2 a}{-a+b}\right ) \sin ^4\left (\frac {1}{2} (c+d x)\right )}{b \sqrt {\cos (c+d x)} \sqrt {a+b \cos (c+d x)}}\right )+2 \left (-145 a^2 A b^2-15 A b^4-63 a^3 b B-161 a b^3 B\right ) \left (\frac {i \cos \left (\frac {1}{2} (c+d x)\right ) \sqrt {a+b \cos (c+d x)} E\left (i \text {arcsinh}\left (\frac {\sin \left (\frac {1}{2} (c+d x)\right )}{\sqrt {\cos (c+d x)}}\right )|-\frac {2 a}{-a-b}\right ) \sec (c+d x)}{b \sqrt {\cos ^2\left (\frac {1}{2} (c+d x)\right ) \sec (c+d x)} \sqrt {\frac {(a+b \cos (c+d x)) \sec (c+d x)}{a+b}}}+\frac {2 a \left (\frac {a \sqrt {\frac {(a+b) \cot ^2\left (\frac {1}{2} (c+d x)\right )}{-a+b}} \sqrt {-\frac {(a+b) \cos (c+d x) \csc ^2\left (\frac {1}{2} (c+d x)\right )}{a}} \sqrt {\frac {(a+b \cos (c+d x)) \csc ^2\left (\frac {1}{2} (c+d x)\right )}{a}} \csc (c+d x) \operatorname {EllipticF}\left (\arcsin \left (\frac {\sqrt {\frac {(a+b \cos (c+d x)) \csc ^2\left (\frac {1}{2} (c+d x)\right )}{a}}}{\sqrt {2}}\right ),-\frac {2 a}{-a+b}\right ) \sin ^4\left (\frac {1}{2} (c+d x)\right )}{(a+b) \sqrt {\cos (c+d x)} \sqrt {a+b \cos (c+d x)}}-\frac {a \sqrt {\frac {(a+b) \cot ^2\left (\frac {1}{2} (c+d x)\right )}{-a+b}} \sqrt {-\frac {(a+b) \cos (c+d x) \csc ^2\left (\frac {1}{2} (c+d x)\right )}{a}} \sqrt {\frac {(a+b \cos (c+d x)) \csc ^2\left (\frac {1}{2} (c+d x)\right )}{a}} \csc (c+d x) \operatorname {EllipticPi}\left (-\frac {a}{b},\arcsin \left (\frac {\sqrt {\frac {(a+b \cos (c+d x)) \csc ^2\left (\frac {1}{2} (c+d x)\right )}{a}}}{\sqrt {2}}\right ),-\frac {2 a}{-a+b}\right ) \sin ^4\left (\frac {1}{2} (c+d x)\right )}{b \sqrt {\cos (c+d x)} \sqrt {a+b \cos (c+d x)}}\right )}{b}+\frac {\sqrt {a+b \cos (c+d x)} \sin (c+d x)}{b \sqrt {\cos (c+d x)}}\right )}{105 a d}+\frac {\sqrt {\cos (c+d x)} \sqrt {a+b \cos (c+d x)} \left (\frac {2}{35} \sec ^3(c+d x) \left (15 a A b \sin (c+d x)+7 a^2 B \sin (c+d x)\right )+\frac {2}{105} \sec ^2(c+d x) \left (25 a^2 A \sin (c+d x)+45 A b^2 \sin (c+d x)+77 a b B \sin (c+d x)\right )+\frac {2 \sec (c+d x) \left (145 a^2 A b \sin (c+d x)+15 A b^3 \sin (c+d x)+63 a^3 B \sin (c+d x)+161 a b^2 B \sin (c+d x)\right )}{105 a}+\frac {2}{7} a^2 A \sec ^3(c+d x) \tan (c+d x)\right )}{d}
\]
[In]
Integrate[((a + b*Cos[c + d*x])^(5/2)*(A + B*Cos[c + d*x]))/Cos[c + d*x]^(9/2),x]
[Out]
((-4*a*(25*a^4*A - 10*a^2*A*b^2 - 15*A*b^4 + 56*a^3*b*B - 56*a*b^3*B)*Sqrt[((a + b)*Cot[(c + d*x)/2]^2)/(-a +
b)]*Sqrt[-(((a + b)*Cos[c + d*x]*Csc[(c + d*x)/2]^2)/a)]*Sqrt[((a + b*Cos[c + d*x])*Csc[(c + d*x)/2]^2)/a]*Csc
[c + d*x]*EllipticF[ArcSin[Sqrt[((a + b*Cos[c + d*x])*Csc[(c + d*x)/2]^2)/a]/Sqrt[2]], (-2*a)/(-a + b)]*Sin[(c
+ d*x)/2]^4)/((a + b)*Sqrt[Cos[c + d*x]]*Sqrt[a + b*Cos[c + d*x]]) - 4*a*(-145*a^3*A*b - 15*a*A*b^3 - 63*a^4*
B - 161*a^2*b^2*B)*((Sqrt[((a + b)*Cot[(c + d*x)/2]^2)/(-a + b)]*Sqrt[-(((a + b)*Cos[c + d*x]*Csc[(c + d*x)/2]
^2)/a)]*Sqrt[((a + b*Cos[c + d*x])*Csc[(c + d*x)/2]^2)/a]*Csc[c + d*x]*EllipticF[ArcSin[Sqrt[((a + b*Cos[c + d
*x])*Csc[(c + d*x)/2]^2)/a]/Sqrt[2]], (-2*a)/(-a + b)]*Sin[(c + d*x)/2]^4)/((a + b)*Sqrt[Cos[c + d*x]]*Sqrt[a
+ b*Cos[c + d*x]]) - (Sqrt[((a + b)*Cot[(c + d*x)/2]^2)/(-a + b)]*Sqrt[-(((a + b)*Cos[c + d*x]*Csc[(c + d*x)/2
]^2)/a)]*Sqrt[((a + b*Cos[c + d*x])*Csc[(c + d*x)/2]^2)/a]*Csc[c + d*x]*EllipticPi[-(a/b), ArcSin[Sqrt[((a + b
*Cos[c + d*x])*Csc[(c + d*x)/2]^2)/a]/Sqrt[2]], (-2*a)/(-a + b)]*Sin[(c + d*x)/2]^4)/(b*Sqrt[Cos[c + d*x]]*Sqr
t[a + b*Cos[c + d*x]])) + 2*(-145*a^2*A*b^2 - 15*A*b^4 - 63*a^3*b*B - 161*a*b^3*B)*((I*Cos[(c + d*x)/2]*Sqrt[a
+ b*Cos[c + d*x]]*EllipticE[I*ArcSinh[Sin[(c + d*x)/2]/Sqrt[Cos[c + d*x]]], (-2*a)/(-a - b)]*Sec[c + d*x])/(b
*Sqrt[Cos[(c + d*x)/2]^2*Sec[c + d*x]]*Sqrt[((a + b*Cos[c + d*x])*Sec[c + d*x])/(a + b)]) + (2*a*((a*Sqrt[((a
+ b)*Cot[(c + d*x)/2]^2)/(-a + b)]*Sqrt[-(((a + b)*Cos[c + d*x]*Csc[(c + d*x)/2]^2)/a)]*Sqrt[((a + b*Cos[c + d
*x])*Csc[(c + d*x)/2]^2)/a]*Csc[c + d*x]*EllipticF[ArcSin[Sqrt[((a + b*Cos[c + d*x])*Csc[(c + d*x)/2]^2)/a]/Sq
rt[2]], (-2*a)/(-a + b)]*Sin[(c + d*x)/2]^4)/((a + b)*Sqrt[Cos[c + d*x]]*Sqrt[a + b*Cos[c + d*x]]) - (a*Sqrt[(
(a + b)*Cot[(c + d*x)/2]^2)/(-a + b)]*Sqrt[-(((a + b)*Cos[c + d*x]*Csc[(c + d*x)/2]^2)/a)]*Sqrt[((a + b*Cos[c
+ d*x])*Csc[(c + d*x)/2]^2)/a]*Csc[c + d*x]*EllipticPi[-(a/b), ArcSin[Sqrt[((a + b*Cos[c + d*x])*Csc[(c + d*x)
/2]^2)/a]/Sqrt[2]], (-2*a)/(-a + b)]*Sin[(c + d*x)/2]^4)/(b*Sqrt[Cos[c + d*x]]*Sqrt[a + b*Cos[c + d*x]])))/b +
(Sqrt[a + b*Cos[c + d*x]]*Sin[c + d*x])/(b*Sqrt[Cos[c + d*x]])))/(105*a*d) + (Sqrt[Cos[c + d*x]]*Sqrt[a + b*C
os[c + d*x]]*((2*Sec[c + d*x]^3*(15*a*A*b*Sin[c + d*x] + 7*a^2*B*Sin[c + d*x]))/35 + (2*Sec[c + d*x]^2*(25*a^2
*A*Sin[c + d*x] + 45*A*b^2*Sin[c + d*x] + 77*a*b*B*Sin[c + d*x]))/105 + (2*Sec[c + d*x]*(145*a^2*A*b*Sin[c + d
*x] + 15*A*b^3*Sin[c + d*x] + 63*a^3*B*Sin[c + d*x] + 161*a*b^2*B*Sin[c + d*x]))/(105*a) + (2*a^2*A*Sec[c + d*
x]^3*Tan[c + d*x])/7))/d
Maple [B] (verified)
Leaf count of result is larger than twice the leaf count of optimal. \(4873\) vs. \(2(396)=792\).
Time = 26.96 (sec) , antiderivative size = 4874, normalized size of antiderivative =
11.23
| | |
method | result | size |
| | |
parts |
\(\text {Expression too large to display}\) |
\(4874\) |
default |
\(\text {Expression too large to display}\) |
\(4939\) |
| | |
|
|
|
[In]
int((a+cos(d*x+c)*b)^(5/2)*(A+B*cos(d*x+c))/cos(d*x+c)^(9/2),x,method=_RETURNVERBOSE)
[Out]
2/21*A/d*(3*a^4*sin(d*x+c)+18*a^2*b^2*cos(d*x+c)^2*sin(d*x+c)+3*b^4*cos(d*x+c)^4*sin(d*x+c)+5*a^4*cos(d*x+c)^2
*sin(d*x+c)+29*a^2*b^2*cos(d*x+c)^4*sin(d*x+c)+3*EllipticE(cot(d*x+c)-csc(d*x+c),(-(a-b)/(a+b))^(1/2))*((a+cos
(d*x+c)*b)/(1+cos(d*x+c))/(a+b))^(1/2)*(cos(d*x+c)/(1+cos(d*x+c)))^(1/2)*b^4*cos(d*x+c)^5-5*EllipticF(cot(d*x+
c)-csc(d*x+c),(-(a-b)/(a+b))^(1/2))*((a+cos(d*x+c)*b)/(1+cos(d*x+c))/(a+b))^(1/2)*(cos(d*x+c)/(1+cos(d*x+c)))^
(1/2)*a^4*cos(d*x+c)^5+6*EllipticE(cot(d*x+c)-csc(d*x+c),(-(a-b)/(a+b))^(1/2))*((a+cos(d*x+c)*b)/(1+cos(d*x+c)
)/(a+b))^(1/2)*(cos(d*x+c)/(1+cos(d*x+c)))^(1/2)*b^4*cos(d*x+c)^4-10*EllipticF(cot(d*x+c)-csc(d*x+c),(-(a-b)/(
a+b))^(1/2))*((a+cos(d*x+c)*b)/(1+cos(d*x+c))/(a+b))^(1/2)*(cos(d*x+c)/(1+cos(d*x+c)))^(1/2)*a^4*cos(d*x+c)^4+
3*EllipticE(cot(d*x+c)-csc(d*x+c),(-(a-b)/(a+b))^(1/2))*((a+cos(d*x+c)*b)/(1+cos(d*x+c))/(a+b))^(1/2)*(cos(d*x
+c)/(1+cos(d*x+c)))^(1/2)*b^4*cos(d*x+c)^3-5*EllipticF(cot(d*x+c)-csc(d*x+c),(-(a-b)/(a+b))^(1/2))*((a+cos(d*x
+c)*b)/(1+cos(d*x+c))/(a+b))^(1/2)*(cos(d*x+c)/(1+cos(d*x+c)))^(1/2)*a^4*cos(d*x+c)^3+6*EllipticE(cot(d*x+c)-c
sc(d*x+c),(-(a-b)/(a+b))^(1/2))*((a+cos(d*x+c)*b)/(1+cos(d*x+c))/(a+b))^(1/2)*(cos(d*x+c)/(1+cos(d*x+c)))^(1/2
)*a*b^3*cos(d*x+c)^4-58*EllipticF(cot(d*x+c)-csc(d*x+c),(-(a-b)/(a+b))^(1/2))*((a+cos(d*x+c)*b)/(1+cos(d*x+c))
/(a+b))^(1/2)*(cos(d*x+c)/(1+cos(d*x+c)))^(1/2)*a^3*b*cos(d*x+c)^4-54*EllipticF(cot(d*x+c)-csc(d*x+c),(-(a-b)/
(a+b))^(1/2))*((a+cos(d*x+c)*b)/(1+cos(d*x+c))/(a+b))^(1/2)*(cos(d*x+c)/(1+cos(d*x+c)))^(1/2)*a^2*b^2*cos(d*x+
c)^4-6*EllipticF(cot(d*x+c)-csc(d*x+c),(-(a-b)/(a+b))^(1/2))*((a+cos(d*x+c)*b)/(1+cos(d*x+c))/(a+b))^(1/2)*(co
s(d*x+c)/(1+cos(d*x+c)))^(1/2)*a*b^3*cos(d*x+c)^4+29*EllipticE(cot(d*x+c)-csc(d*x+c),(-(a-b)/(a+b))^(1/2))*((a
+cos(d*x+c)*b)/(1+cos(d*x+c))/(a+b))^(1/2)*(cos(d*x+c)/(1+cos(d*x+c)))^(1/2)*a^3*b*cos(d*x+c)^3+29*EllipticE(c
ot(d*x+c)-csc(d*x+c),(-(a-b)/(a+b))^(1/2))*((a+cos(d*x+c)*b)/(1+cos(d*x+c))/(a+b))^(1/2)*(cos(d*x+c)/(1+cos(d*
x+c)))^(1/2)*a^2*b^2*cos(d*x+c)^3+3*EllipticE(cot(d*x+c)-csc(d*x+c),(-(a-b)/(a+b))^(1/2))*((a+cos(d*x+c)*b)/(1
+cos(d*x+c))/(a+b))^(1/2)*(cos(d*x+c)/(1+cos(d*x+c)))^(1/2)*a*b^3*cos(d*x+c)^3-29*EllipticF(cot(d*x+c)-csc(d*x
+c),(-(a-b)/(a+b))^(1/2))*((a+cos(d*x+c)*b)/(1+cos(d*x+c))/(a+b))^(1/2)*(cos(d*x+c)/(1+cos(d*x+c)))^(1/2)*a^3*
b*cos(d*x+c)^3-27*EllipticF(cot(d*x+c)-csc(d*x+c),(-(a-b)/(a+b))^(1/2))*((a+cos(d*x+c)*b)/(1+cos(d*x+c))/(a+b)
)^(1/2)*(cos(d*x+c)/(1+cos(d*x+c)))^(1/2)*a^2*b^2*cos(d*x+c)^3-3*EllipticF(cot(d*x+c)-csc(d*x+c),(-(a-b)/(a+b)
)^(1/2))*((a+cos(d*x+c)*b)/(1+cos(d*x+c))/(a+b))^(1/2)*(cos(d*x+c)/(1+cos(d*x+c)))^(1/2)*a*b^3*cos(d*x+c)^3+29
*EllipticE(cot(d*x+c)-csc(d*x+c),(-(a-b)/(a+b))^(1/2))*((a+cos(d*x+c)*b)/(1+cos(d*x+c))/(a+b))^(1/2)*(cos(d*x+
c)/(1+cos(d*x+c)))^(1/2)*a^3*b*cos(d*x+c)^5+29*EllipticE(cot(d*x+c)-csc(d*x+c),(-(a-b)/(a+b))^(1/2))*((a+cos(d
*x+c)*b)/(1+cos(d*x+c))/(a+b))^(1/2)*(cos(d*x+c)/(1+cos(d*x+c)))^(1/2)*a^2*b^2*cos(d*x+c)^5+3*EllipticE(cot(d*
x+c)-csc(d*x+c),(-(a-b)/(a+b))^(1/2))*((a+cos(d*x+c)*b)/(1+cos(d*x+c))/(a+b))^(1/2)*(cos(d*x+c)/(1+cos(d*x+c))
)^(1/2)*a*b^3*cos(d*x+c)^5-29*EllipticF(cot(d*x+c)-csc(d*x+c),(-(a-b)/(a+b))^(1/2))*((a+cos(d*x+c)*b)/(1+cos(d
*x+c))/(a+b))^(1/2)*(cos(d*x+c)/(1+cos(d*x+c)))^(1/2)*a^3*b*cos(d*x+c)^5-27*EllipticF(cot(d*x+c)-csc(d*x+c),(-
(a-b)/(a+b))^(1/2))*((a+cos(d*x+c)*b)/(1+cos(d*x+c))/(a+b))^(1/2)*(cos(d*x+c)/(1+cos(d*x+c)))^(1/2)*a^2*b^2*co
s(d*x+c)^5-3*EllipticF(cot(d*x+c)-csc(d*x+c),(-(a-b)/(a+b))^(1/2))*((a+cos(d*x+c)*b)/(1+cos(d*x+c))/(a+b))^(1/
2)*(cos(d*x+c)/(1+cos(d*x+c)))^(1/2)*a*b^3*cos(d*x+c)^5+58*EllipticE(cot(d*x+c)-csc(d*x+c),(-(a-b)/(a+b))^(1/2
))*((a+cos(d*x+c)*b)/(1+cos(d*x+c))/(a+b))^(1/2)*(cos(d*x+c)/(1+cos(d*x+c)))^(1/2)*a^3*b*cos(d*x+c)^4+58*Ellip
ticE(cot(d*x+c)-csc(d*x+c),(-(a-b)/(a+b))^(1/2))*((a+cos(d*x+c)*b)/(1+cos(d*x+c))/(a+b))^(1/2)*(cos(d*x+c)/(1+
cos(d*x+c)))^(1/2)*a^2*b^2*cos(d*x+c)^4+5*a^4*cos(d*x+c)^3*sin(d*x+c)+3*a^4*cos(d*x+c)*sin(d*x+c)+12*a^3*b*cos
(d*x+c)*sin(d*x+c)+12*a^3*b*cos(d*x+c)^2*sin(d*x+c)+34*a^3*b*cos(d*x+c)^3*sin(d*x+c)+18*a^2*b^2*cos(d*x+c)^3*s
in(d*x+c)+12*a*b^3*cos(d*x+c)^3*sin(d*x+c)+5*a^3*b*cos(d*x+c)^4*sin(d*x+c)+9*a*b^3*cos(d*x+c)^4*sin(d*x+c))/(1
+cos(d*x+c))/(a+cos(d*x+c)*b)^(1/2)/cos(d*x+c)^(7/2)/a+2/15*B/d*(23*EllipticE(cot(d*x+c)-csc(d*x+c),(-(a-b)/(a
+b))^(1/2))*(cos(d*x+c)/(1+cos(d*x+c)))^(1/2)*((a+cos(d*x+c)*b)/(1+cos(d*x+c))/(a+b))^(1/2)*a*b^2*cos(d*x+c)^4
-17*EllipticF(cot(d*x+c)-csc(d*x+c),(-(a-b)/(a+b))^(1/2))*(cos(d*x+c)/(1+cos(d*x+c)))^(1/2)*((a+cos(d*x+c)*b)/
(1+cos(d*x+c))/(a+b))^(1/2)*a^2*b*cos(d*x+c)^4-23*EllipticF(cot(d*x+c)-csc(d*x+c),(-(a-b)/(a+b))^(1/2))*(cos(d
*x+c)/(1+cos(d*x+c)))^(1/2)*((a+cos(d*x+c)*b)/(1+cos(d*x+c))/(a+b))^(1/2)*a*b^2*cos(d*x+c)^4+18*EllipticE(cot(
d*x+c)-csc(d*x+c),(-(a-b)/(a+b))^(1/2))*(cos(d*x+c)/(1+cos(d*x+c)))^(1/2)*((a+cos(d*x+c)*b)/(1+cos(d*x+c))/(a+
b))^(1/2)*a^2*b*cos(d*x+c)^3+46*EllipticE(cot(d*x+c)-csc(d*x+c),(-(a-b)/(a+b))^(1/2))*(cos(d*x+c)/(1+cos(d*x+c
)))^(1/2)*((a+cos(d*x+c)*b)/(1+cos(d*x+c))/(a+b))^(1/2)*a*b^2*cos(d*x+c)^3-34*EllipticF(cot(d*x+c)-csc(d*x+c),
(-(a-b)/(a+b))^(1/2))*(cos(d*x+c)/(1+cos(d*x+c)))^(1/2)*((a+cos(d*x+c)*b)/(1+cos(d*x+c))/(a+b))^(1/2)*a^2*b*co
s(d*x+c)^3-46*EllipticF(cot(d*x+c)-csc(d*x+c),(-(a-b)/(a+b))^(1/2))*(cos(d*x+c)/(1+cos(d*x+c)))^(1/2)*((a+cos(
d*x+c)*b)/(1+cos(d*x+c))/(a+b))^(1/2)*a*b^2*cos(d*x+c)^3+9*EllipticE(cot(d*x+c)-csc(d*x+c),(-(a-b)/(a+b))^(1/2
))*(cos(d*x+c)/(1+cos(d*x+c)))^(1/2)*((a+cos(d*x+c)*b)/(1+cos(d*x+c))/(a+b))^(1/2)*a^2*b*cos(d*x+c)^2-18*Ellip
ticF(cot(d*x+c)-csc(d*x+c),(-(a-b)/(a+b))^(1/2))*(cos(d*x+c)/(1+cos(d*x+c)))^(1/2)*((a+cos(d*x+c)*b)/(1+cos(d*
x+c))/(a+b))^(1/2)*a^3*cos(d*x+c)^3+9*EllipticE(cot(d*x+c)-csc(d*x+c),(-(a-b)/(a+b))^(1/2))*(cos(d*x+c)/(1+cos
(d*x+c)))^(1/2)*((a+cos(d*x+c)*b)/(1+cos(d*x+c))/(a+b))^(1/2)*a^3*cos(d*x+c)^2+23*EllipticE(cot(d*x+c)-csc(d*x
+c),(-(a-b)/(a+b))^(1/2))*(cos(d*x+c)/(1+cos(d*x+c)))^(1/2)*((a+cos(d*x+c)*b)/(1+cos(d*x+c))/(a+b))^(1/2)*b^3*
cos(d*x+c)^2+34*a*b^2*cos(d*x+c)^2*sin(d*x+c)+14*a^2*b*cos(d*x+c)*sin(d*x+c)+3*sin(d*x+c)*cos(d*x+c)*a^3+14*si
n(d*x+c)*cos(d*x+c)^2*a^2*b+3*a^3*sin(d*x+c)+23*b^3*cos(d*x+c)^3*sin(d*x+c)+23*EllipticE(cot(d*x+c)-csc(d*x+c)
,(-(a-b)/(a+b))^(1/2))*(cos(d*x+c)/(1+cos(d*x+c)))^(1/2)*((a+cos(d*x+c)*b)/(1+cos(d*x+c))/(a+b))^(1/2)*a*b^2*c
os(d*x+c)^2-17*EllipticF(cot(d*x+c)-csc(d*x+c),(-(a-b)/(a+b))^(1/2))*(cos(d*x+c)/(1+cos(d*x+c)))^(1/2)*((a+cos
(d*x+c)*b)/(1+cos(d*x+c))/(a+b))^(1/2)*a^2*b*cos(d*x+c)^2-23*EllipticF(cot(d*x+c)-csc(d*x+c),(-(a-b)/(a+b))^(1
/2))*(cos(d*x+c)/(1+cos(d*x+c)))^(1/2)*((a+cos(d*x+c)*b)/(1+cos(d*x+c))/(a+b))^(1/2)*a*b^2*cos(d*x+c)^2+9*Elli
pticE(cot(d*x+c)-csc(d*x+c),(-(a-b)/(a+b))^(1/2))*(cos(d*x+c)/(1+cos(d*x+c)))^(1/2)*((a+cos(d*x+c)*b)/(1+cos(d
*x+c))/(a+b))^(1/2)*a^2*b*cos(d*x+c)^4-15*(cos(d*x+c)/(1+cos(d*x+c)))^(1/2)*((a+cos(d*x+c)*b)/(1+cos(d*x+c))/(
a+b))^(1/2)*EllipticF(cot(d*x+c)-csc(d*x+c),(-(a-b)/(a+b))^(1/2))*b^3*cos(d*x+c)^2+9*a^2*b*cos(d*x+c)^3*sin(d*
x+c)+11*a*b^2*cos(d*x+c)^3*sin(d*x+c)-15*EllipticF(cot(d*x+c)-csc(d*x+c),(-(a-b)/(a+b))^(1/2))*(cos(d*x+c)/(1+
cos(d*x+c)))^(1/2)*((a+cos(d*x+c)*b)/(1+cos(d*x+c))/(a+b))^(1/2)*b^3*cos(d*x+c)^4-30*EllipticF(cot(d*x+c)-csc(
d*x+c),(-(a-b)/(a+b))^(1/2))*(cos(d*x+c)/(1+cos(d*x+c)))^(1/2)*((a+cos(d*x+c)*b)/(1+cos(d*x+c))/(a+b))^(1/2)*b
^3*cos(d*x+c)^3-9*EllipticF(cot(d*x+c)-csc(d*x+c),(-(a-b)/(a+b))^(1/2))*(cos(d*x+c)/(1+cos(d*x+c)))^(1/2)*((a+
cos(d*x+c)*b)/(1+cos(d*x+c))/(a+b))^(1/2)*a^3*cos(d*x+c)^2+9*EllipticE(cot(d*x+c)-csc(d*x+c),(-(a-b)/(a+b))^(1
/2))*(cos(d*x+c)/(1+cos(d*x+c)))^(1/2)*((a+cos(d*x+c)*b)/(1+cos(d*x+c))/(a+b))^(1/2)*a^3*cos(d*x+c)^4+23*Ellip
ticE(cot(d*x+c)-csc(d*x+c),(-(a-b)/(a+b))^(1/2))*(cos(d*x+c)/(1+cos(d*x+c)))^(1/2)*((a+cos(d*x+c)*b)/(1+cos(d*
x+c))/(a+b))^(1/2)*b^3*cos(d*x+c)^4-9*EllipticF(cot(d*x+c)-csc(d*x+c),(-(a-b)/(a+b))^(1/2))*(cos(d*x+c)/(1+cos
(d*x+c)))^(1/2)*((a+cos(d*x+c)*b)/(1+cos(d*x+c))/(a+b))^(1/2)*a^3*cos(d*x+c)^4+18*EllipticE(cot(d*x+c)-csc(d*x
+c),(-(a-b)/(a+b))^(1/2))*(cos(d*x+c)/(1+cos(d*x+c)))^(1/2)*((a+cos(d*x+c)*b)/(1+cos(d*x+c))/(a+b))^(1/2)*a^3*
cos(d*x+c)^3+46*EllipticE(cot(d*x+c)-csc(d*x+c),(-(a-b)/(a+b))^(1/2))*(cos(d*x+c)/(1+cos(d*x+c)))^(1/2)*((a+co
s(d*x+c)*b)/(1+cos(d*x+c))/(a+b))^(1/2)*b^3*cos(d*x+c)^3+9*a^3*cos(d*x+c)^2*sin(d*x+c))/(1+cos(d*x+c))/(a+cos(
d*x+c)*b)^(1/2)/cos(d*x+c)^(5/2)
Fricas [F]
\[
\int \frac {(a+b \cos (c+d x))^{5/2} (A+B \cos (c+d x))}{\cos ^{\frac {9}{2}}(c+d x)} \, dx=\int { \frac {{\left (B \cos \left (d x + c\right ) + A\right )} {\left (b \cos \left (d x + c\right ) + a\right )}^{\frac {5}{2}}}{\cos \left (d x + c\right )^{\frac {9}{2}}} \,d x }
\]
[In]
integrate((a+b*cos(d*x+c))^(5/2)*(A+B*cos(d*x+c))/cos(d*x+c)^(9/2),x, algorithm="fricas")
[Out]
integral((B*b^2*cos(d*x + c)^3 + A*a^2 + (2*B*a*b + A*b^2)*cos(d*x + c)^2 + (B*a^2 + 2*A*a*b)*cos(d*x + c))*sq
rt(b*cos(d*x + c) + a)/cos(d*x + c)^(9/2), x)
Sympy [F(-1)]
Timed out. \[
\int \frac {(a+b \cos (c+d x))^{5/2} (A+B \cos (c+d x))}{\cos ^{\frac {9}{2}}(c+d x)} \, dx=\text {Timed out}
\]
[In]
integrate((a+b*cos(d*x+c))**(5/2)*(A+B*cos(d*x+c))/cos(d*x+c)**(9/2),x)
[Out]
Timed out
Maxima [F]
\[
\int \frac {(a+b \cos (c+d x))^{5/2} (A+B \cos (c+d x))}{\cos ^{\frac {9}{2}}(c+d x)} \, dx=\int { \frac {{\left (B \cos \left (d x + c\right ) + A\right )} {\left (b \cos \left (d x + c\right ) + a\right )}^{\frac {5}{2}}}{\cos \left (d x + c\right )^{\frac {9}{2}}} \,d x }
\]
[In]
integrate((a+b*cos(d*x+c))^(5/2)*(A+B*cos(d*x+c))/cos(d*x+c)^(9/2),x, algorithm="maxima")
[Out]
integrate((B*cos(d*x + c) + A)*(b*cos(d*x + c) + a)^(5/2)/cos(d*x + c)^(9/2), x)
Giac [F]
\[
\int \frac {(a+b \cos (c+d x))^{5/2} (A+B \cos (c+d x))}{\cos ^{\frac {9}{2}}(c+d x)} \, dx=\int { \frac {{\left (B \cos \left (d x + c\right ) + A\right )} {\left (b \cos \left (d x + c\right ) + a\right )}^{\frac {5}{2}}}{\cos \left (d x + c\right )^{\frac {9}{2}}} \,d x }
\]
[In]
integrate((a+b*cos(d*x+c))^(5/2)*(A+B*cos(d*x+c))/cos(d*x+c)^(9/2),x, algorithm="giac")
[Out]
integrate((B*cos(d*x + c) + A)*(b*cos(d*x + c) + a)^(5/2)/cos(d*x + c)^(9/2), x)
Mupad [F(-1)]
Timed out. \[
\int \frac {(a+b \cos (c+d x))^{5/2} (A+B \cos (c+d x))}{\cos ^{\frac {9}{2}}(c+d x)} \, dx=\int \frac {\left (A+B\,\cos \left (c+d\,x\right )\right )\,{\left (a+b\,\cos \left (c+d\,x\right )\right )}^{5/2}}{{\cos \left (c+d\,x\right )}^{9/2}} \,d x
\]
[In]
int(((A + B*cos(c + d*x))*(a + b*cos(c + d*x))^(5/2))/cos(c + d*x)^(9/2),x)
[Out]
int(((A + B*cos(c + d*x))*(a + b*cos(c + d*x))^(5/2))/cos(c + d*x)^(9/2), x)